package com.mzz.behavior.fatherandson.strategy;

/**
 * 加法运算
 *
 * @author xushijian
 * @date 18/5/16
 */
public class AddStrategy extends Strategy<Integer, Integer, Integer> {

    @Override
    public Integer algorithm(Integer a, Integer b) {
        return a + b;
    }
}
